package com.jsptpd.smartauth.modules.business.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_user")
public class User {
    @TableId
    private String userId;
    private String employId;
    private String hrId;
    private String userName;
    @TableField(value = "USER_PWD")
    private String password;
    @TableField(value = "ORG_ID")
    private String department;
    @TableField(value = "MOBILE_PHONE")
    private String phone;
    private Date expirationDate;
}